package the.broccoli.uc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.wisteria.framework.web.mvc.entity.SuperEntity;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("uc_token")
public class TokenDO extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 5951413453563637655L;

    /**
     * 租户ID。主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer tenantId;
    private String userId;
    private Date loginTime;
    private Date expireTime;
    private String content;
}
